package com.zaofan.service;

import com.zaofan.bean.AccountFromCount;
import com.zaofan.dao.AccountFromCountDao;

import java.util.HashMap;
import java.util.Map;

/**
 * Created by Administrator on 2016/10/28.
 */
public class AccountFromCountService {

    private AccountFromCountDao accountFromCountDao = new AccountFromCountDao();

    public void add(AccountFromCount accountFrom) {
        accountFromCountDao.add(accountFrom);
    }

    public Long findCount(Map<String,Object> map){
        return accountFromCountDao.count(map);
    }

    public void addCount(String fromtype){
        accountFromCountDao.addCount(fromtype);
    }



}
